package com.bulkmail.sender;

import java.util.List;

public class DataSession {

	private static boolean isSaved = false;

	private static String mailXml;
	private static String optXml;
	private static String zipPath;

	private String from;
	private List<String> to;
	private String subject;
	private String message;
	private String server;
	private String port;
	private String username;
	private String password;
	private int nrEmails;
	private int seconds;
	private boolean addCounter;
	private boolean addRandomSubject;
	private String attachPath;
	private boolean smtp;
	private boolean exs;

	public String getFrom() {
		return from;
	}

	public void setFrom(String from) {
		this.from = from;
	}

	public List<String> getTo() {
		return to;
	}

	public void setTo(List<String> to) {
		this.to = to;
	}

	public String getSubject() {
		return subject;
	}

	public void setSubject(String subject) {
		this.subject = subject;
	}

	public String getMessage() {
		return message;
	}

	public void setMessage(String message) {
		this.message = message;
	}

	public boolean getSmtp() {
		return smtp;
	}

	public void setSmtp(boolean smtp) {
		this.smtp = smtp;
	}

	public boolean getExs() {
		return exs;
	}

	public void setExs(boolean exs) {
		this.exs = exs;
	}

	public String getServer() {
		return server;
	}

	public void setServer(String server) {
		this.server = server;
	}

	public String getPort() {
		return port;
	}

	public void setPort(String port) {
		this.port = port;
	}

	public String getUsername() {
		return username;
	}

	public void setUsername(String username) {
		this.username = username;
	}

	public String getPassword() {
		return password;
	}

	public void setPassword(String password) {
		this.password = password;
	}

	public int getNrEmails() {
		return nrEmails;
	}

	public void setNrEmails(int nrEmails) {
		this.nrEmails = nrEmails;
	}

	public int getSeconds() {
		return seconds;
	}

	public void setSeconds(int seconds) {
		this.seconds = seconds;
	}

	public boolean getAddRandomSubject() {
		return addRandomSubject;
	}

	public void setAddRandomSubject(boolean addRandomSubject) {
		this.addRandomSubject = addRandomSubject;
	}

	public boolean getAddCounter() {
		return addCounter;
	}

	public void setAddCounter(boolean addCounter) {
		this.addCounter = addCounter;
	}

	public String getAttachPath() {
		return attachPath;
	}

	public void setAttachPath(String attachPath) {
		this.attachPath = attachPath;
	}

	public static boolean isSaved() {
		return isSaved;
	}

	public static void setSaved(boolean saved) {
		isSaved = saved;
	}

	public static String getMailXml() {
		return mailXml;
	}

	public static void setMailXml(String mailXmlPath) {
		mailXml = mailXmlPath;
	}

	public static String getOptXml() {
		return optXml;
	}

	public static void setOptXml(String optXmlPath) {
		optXml = optXmlPath;
	}

	public static String getZipPath() {
		return zipPath;
	}

	public static void setZipPath(String zipPath) {
		DataSession.zipPath = zipPath;
	}
}
